﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using NUnit.Framework;

namespace Boggle.Tests
{
    internal static class TestCaseDataExtensions
    {
        internal static TestCaseData Throws<T>(this TestCaseData testCaseData) where T : Exception
        {
            if (testCaseData == null)
            {
                throw new ArgumentNullException("testCaseData");
            }

            return testCaseData.Throws(typeof(T));
        }
    }
}
